.class Lcom/waiqin365/base/triallogin/a;
.super Ljava/lang/Object;

# interfaces
.implements Landroid/widget/AdapterView$OnItemClickListener;


# instance fields
.field final synthetic a:Lcom/waiqin365/base/triallogin/TrialChangeIndustryActivity;


# direct methods
.method constructor <init>(Lcom/waiqin365/base/triallogin/TrialChangeIndustryActivity;)V
    .locals 0

    iput-object p1, p0, Lcom/waiqin365/base/triallogin/a;->a:Lcom/waiqin365/base/triallogin/TrialChangeIndustryActivity;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public onItemClick(Landroid/widget/AdapterView;Landroid/view/View;IJ)V
    .locals 4

    const/4 v2, 0x0

    move v1, v2

    :goto_0
    iget-object v0, p0, Lcom/waiqin365/base/triallogin/a;->a:Lcom/waiqin365/base/triallogin/TrialChangeIndustryActivity;

    invoke-static {v0}, Lcom/waiqin365/base/triallogin/TrialChangeIndustryActivity;->a(Lcom/waiqin365/base/triallogin/TrialChangeIndustryActivity;)Ljava/util/ArrayList;

    move-result-object v0

    invoke-virtual {v0}, Ljava/util/ArrayList;->size()I

    move-result v0

    if-ge v1, v0, :cond_1

    if-ne v1, p3, :cond_0

    iget-object v0, p0, Lcom/waiqin365/base/triallogin/a;->a:Lcom/waiqin365/base/triallogin/TrialChangeIndustryActivity;

    invoke-static {v0}, Lcom/waiqin365/base/triallogin/TrialChangeIndustryActivity;->a(Lcom/waiqin365/base/triallogin/TrialChangeIndustryActivity;)Ljava/util/ArrayList;

    move-result-object v0

    invoke-virtual {v0, v1}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/base/triallogin/model/TrialBusinessInfo;

    const/4 v3, 0x1

    iput-boolean v3, v0, Lcom/waiqin365/base/triallogin/model/TrialBusinessInfo;->d:Z

    :goto_1
    add-int/lit8 v0, v1, 0x1

    move v1, v0

    goto :goto_0

    :cond_0
    iget-object v0, p0, Lcom/waiqin365/base/triallogin/a;->a:Lcom/waiqin365/base/triallogin/TrialChangeIndustryActivity;

    invoke-static {v0}, Lcom/waiqin365/base/triallogin/TrialChangeIndustryActivity;->a(Lcom/waiqin365/base/triallogin/TrialChangeIndustryActivity;)Ljava/util/ArrayList;

    move-result-object v0

    invoke-virtual {v0, v1}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/base/triallogin/model/TrialBusinessInfo;

    iput-boolean v2, v0, Lcom/waiqin365/base/triallogin/model/TrialBusinessInfo;->d:Z

    goto :goto_1

    :cond_1
    iget-object v0, p0, Lcom/waiqin365/base/triallogin/a;->a:Lcom/waiqin365/base/triallogin/TrialChangeIndustryActivity;

    invoke-static {v0}, Lcom/waiqin365/base/triallogin/TrialChangeIndustryActivity;->b(Lcom/waiqin365/base/triallogin/TrialChangeIndustryActivity;)Lcom/waiqin365/base/triallogin/a/a;

    move-result-object v0

    iget-object v1, p0, Lcom/waiqin365/base/triallogin/a;->a:Lcom/waiqin365/base/triallogin/TrialChangeIndustryActivity;

    invoke-static {v1}, Lcom/waiqin365/base/triallogin/TrialChangeIndustryActivity;->a(Lcom/waiqin365/base/triallogin/TrialChangeIndustryActivity;)Ljava/util/ArrayList;

    move-result-object v1

    invoke-virtual {v0, v1}, Lcom/waiqin365/base/triallogin/a/a;->a(Ljava/util/ArrayList;)V

    iget-object v0, p0, Lcom/waiqin365/base/triallogin/a;->a:Lcom/waiqin365/base/triallogin/TrialChangeIndustryActivity;

    invoke-static {v0}, Lcom/waiqin365/base/triallogin/TrialChangeIndustryActivity;->b(Lcom/waiqin365/base/triallogin/TrialChangeIndustryActivity;)Lcom/waiqin365/base/triallogin/a/a;

    move-result-object v0

    invoke-virtual {v0}, Lcom/waiqin365/base/triallogin/a/a;->notifyDataSetChanged()V

    return-void
.end method
